package com.itzhoun.service;

import com.itzhoun.entity.User;
import com.itzhoun.mapper.UserMapperSlave;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 周楠
 * @Date 2022/06/28/下午 9:49
 */
@Service
public class UserSlaveServiceImpl implements UserSlaveService {

    @Resource
    private UserMapperSlave userMapperSlave;

    @Override
    public User getUserById(Integer id) {
        return userMapperSlave.selectById(id);
    }
}
